package test.zdx.数组;

public class 数组声明
{
    public static void main(String[] args) {
        int[][] a = new int[2][];
        a[0]=new int[]{0,1,2,3};
        a[1]=new int[]{0,1,2,3};
        for(int[] arr : a)
        {
            for(int i : arr)
            {
                System.out.print(i+" ");
            }
            System.out.println();
        }

        int[][] b = new int[2][];
        b[0]=new int[]{10,11,12,13};
        b[1]=new int[]{10,11,12,13};
        for(int[] arr : b)
        {
            for(int i : arr)
            {
                System.out.print(i+" ");
            }
            System.out.println();
        }


    }
}
